package com.open.capacity.service.impl;

import com.open.capacity.common.entity.RegionModel;
import com.open.capacity.mapper.RegionMapper;
import com.open.capacity.service.RegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RegionServiceImpl implements RegionService {
    @Autowired
    private RegionMapper regionMapper;
    @Override
    public List<RegionModel> findProvince() {
        return regionMapper.findProvince();
    }

    @Override
    public List<RegionModel> findLow(RegionModel regionModel) {
        return regionMapper.findLow(regionModel);
    }

}
